#include "ExpenseTracker.h"

ExpenseTracker::ExpenseTracker(){}
ExpenseTracker::ExpenseTracker(float totalIn, TimeFrame tfIn, int numDaysIn, vector<vector<Expense>> expIn, BudgetPlanner plannerIn){
	 totalSpent = totalIn;
	 tf = tfIn;
	 numDays = numDaysIn;
	 exp = expIn;
	 planner = plannerIn;
}
void ExpenseTracker::setTotalSpent(float totalIn){
	totalSpent = totalIn;
}
void ExpenseTracker::setTimeFrame(TimeFrame tfIn){
	 tf = tfIn;
}
void ExpenseTracker::setnumDays(int numDaysIn){
	 numDays = numDaysIn;
}
void ExpenseTracker::setExpenses(vector<vector<Expense>> expIn){
	 exp = expIn;
}
void ExpenseTracker::setBudgetPlanner(BudgetPlanner plannerIn){
	 planner = plannerIn;
}
float ExpenseTracker::getSpent(){
	return totalSpent;
}
TimeFrame ExpenseTracker::getTimeFrame(){
	return tf;
}
int ExpenseTracker::getNumDays(){
	return numDays;
}
vector<vector<Expense>> ExpenseTracker::getExpenses(){
	return exp;
}
BudgetPlanner ExpenseTracker::getBudgetPlanner(){
	return planner;
}